
<%= simple_form_for(@warehouse) do |f| %>
  <%= f.error_notification %>
  <%= f.error_notification message: f.object.errors[:base].to_sentence if f.object.errors[:base].present? %>


  <div class="row">
    <div class="col-md-6">
      <%= f.input :name, label: "仓库名称" %>
    </div>
  </div>

  <div class="horizontal-space"></div>
  <div class="form-actions">
    <%= f.button :submit, '提交',class: "btn btn-blue btn-xs" %>
  </div>
<% end %>
